# name : export as excel/xlsx with fielname
# key : export.xlsx.filename
# contributor: Shuguang Sun
# --
filename ${1:fileref} \"&${2:$$(yas-choose-value '("__wksppath__" "__wksppath" "_wksppath_" "__prjpath__" "__prjpath"))}./data/${3:$$(yas-choose-value '("interim" "processed" "csv"))}/${4:fname}.xlsx\" encoding="utf8";
proc export data=${5:din} outfile=$1 dbms=xlsx replace;
sheet="${6:sheet name}";
label;
run;
filename $1 clear;